repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Ooops, little bug with the cross product.
[andmenj-acm.git]
/
107 - The Cat in the Hat
/
test1.cpp
blob
fb10baa46f825febbfb6ce965f992fc208aa4eab
1
#include <cstdlib>
2
#include <iostream>
3
4
using namespace
std
;
5
6
int
main
(
int
argc
,
char
*
argv
[])
7
{
8
int
temp
;
9
temp
=
5
/
2
;
10
cout
<<
temp
<<
endl
;
11
if
(
temp
==
2
){
12
cout
<<
"C++ automaticamente usa division entera cuando la variable cuyo valor se asigna es de tipo entero."
;
13
cout
<<
endl
<<
endl
;
14
}
15
system
(
"PAUSE"
);
16
return
0
;
17
}